package com.vsen.lpr.mapper;

import com.vsen.lpr.entity.TaskPlan;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yy
 * @since 2021-08-22
 */
@Mapper
public interface TaskPlanMapper extends BaseMapper<TaskPlan> {
    List<TaskPlan> queryTaskByNowTime2(@Param("now") Date now,@Param("nowAddFive") Date nowAddFive);

    Integer updateIsRemind(@Param("id") Integer id, @Param("isRemind") String isRemind);

    List<TaskPlan> selectListByUserId(String userId);
}
